package doh.util;

import java.io.Serializable;

/**
 *
 * @author davidsass
 */
public class GamePlayer implements Serializable
{
    public String name;
    public int rock;
    public int paper;
    public int scissor;

    public GamePlayer(String n)
    {
        name = n;
        rock = 0;
        paper = 0;
        scissor = 0;
    }

    public GamePlayer(String n, int r, int p, int s)
    {
        name = n;
        rock = r;
        paper = p;
        scissor = s;
    }

    public String getName()
    {
        return name;
    }

    public void incRock()
    {
         rock++;
    }

    public void incPaper()
    {
         paper++;
    }

    public void incScissor()
    {
         scissor++;
    }

    public int getRock()
    {
        return rock;
    }

    public int getPaper()
    {
        return paper;
    }

    public int getScissor()
    {
        return scissor;
    }
}
